package com.meeruu.sg.account.core.domain.mapper;


import com.meeruu.sg.account.core.domain.model.SysCoreConfig;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysCoreConfigMapper {

    int updateStatus(@Param("id") Integer id, @Param("status") Integer status);

    int insert(SysCoreConfig record);

    List<SysCoreConfig> selectAll();

    long count();

    SysCoreConfig selectByPrimaryKey(Integer id);

    List<SysCoreConfig> queryByCodes(@Param("codes") List<String> codes);

    int updateByPrimaryKey(SysCoreConfig record);

    int addConfigList(@Param("configs") List<SysCoreConfig> configs);

    int modifyConfigList(@Param("configs") List<SysCoreConfig> configs);

    int updateStatusList(@Param("codes") List<String> codes);


}